package com.basker.pisces.auth.domain.exception;

import java.util.List;

import com.basker.pisces.domain.command.exception.CommandExecuteInvalidObjectException;
import com.basker.pisces.resource.StringResources;

/**
 * 用户已注册异常
 *
 * @author hangwen
 */
public class AuthUserRegisteredException extends CommandExecuteInvalidObjectException {

    private static final long serialVersionUID = -3083108022580678171L;

    public AuthUserRegisteredException(List<ObjectError> errors) {
        super(StringResources.get("pisces-auth.AuthUserRegisteredException.message"), errors);
    }
}
